<html>
    <head>
        <meta charset="UTF-8">
        <title>BOM编程window对象</title>
        <script>
        function openSuMuShao(){
            //默认就是开启第一个新窗口
            //老窗口称为父窗口
            //新窗口称为子窗口
            window.open("https://www.sumushao.com","_blank");
            //window.open("https://www.sumushao.com");
        }
        
        
        </script>
        <body>
            <input type="button" value="sumushao" onclick="openSuMuShao();"/>

        </body>
    </head>
</html>